SUBSCRIBE_USERINFO_LIST

Kimi.Huang 5 ans auparavant
Parent
Commettre
fcb693083e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      shells/views.py

+ 1 - 1
shells/views.py

@@ -18,7 +18,7 @@ def fetch_users_func(authorizer_appid, infos):
18 18
     print authorizer_appid, infos
19 19
     openids = infos.get('data', {}).get('openid', [])
20 20
     for openid in openids:
21
-        r1.rpushjson(SUBSCRIBE_USERINFO_LIST, {
21
+        r1.rpushjson(SUBSCRIBE_USERINFO_LIST % authorizer_appid, {
22 22
             'brand_id': authorizer_appid,
23 23
             'openid': openid
24 24
         })